#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
//条件操作符的使用：求三个数的最大值
int main()
{
	int a, b, c;
	scanf("%d %d %d", &a, &b, &c);
	int mid = a > b ? a : b;
	int max = mid > c ? mid : c;
	printf("MAX = %d\n", max);
}